/* jsx ctrl+m*/
import React, { Component } from 'react';
import './index.css'
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom'

import Home from '../Home'
import Music from '../Music'

class App extends Component {
  constructor(props) {
    super(props)
    this.state = {
      msg: 'hello'
    }
  }
  render() {
    return (
      <div id='container'>
        <Router>
          <Routes>
            <Route path="/" element={<Home />}></Route>
            <Route path="/music" element={<Music />}></Route>
          </Routes>
        </Router>
      </div>
    );
  }
}
export default App;